package com.example.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class oderfromcong {
	private int Serno;
	private String billno;
	private String ProdId;
	private Double oldprice;
	private String discount;
	private Double sPrice;
	private int squantity;
	private String Preindate;
	private int Qtyremain;//未入库量
	private Double amount;
	private Double Vftotal;
	private Double taxrate;
	private Double taxamt;
	private String trantype;
	private String fromno;
	private String isgift;
	
	private oderfrom ors;
	
	public oderfrom getOrs() {
		return ors;
	}

	public void setOrs(oderfrom ors) {
		this.ors = ors;
	}

	public int getSerno() {
		return Serno;
	}

	public void setSerno(int serno) {
		Serno = serno;
	}

	public String getBillno() {
		return billno;
	}

	public void setBillno(String billno) {
		this.billno = billno;
	}

	public String getProdId() {
		return ProdId;
	}

	public void setProdId(String prodId) {
		ProdId = prodId;
	}

	public Double getOldprice() {
		return oldprice;
	}

	public void setOldprice(Double oldprice) {
		this.oldprice = oldprice;
	}

	

	public String getDiscount() {
		return discount;
	}

	public void setDiscount(String discount) {
		this.discount = discount;
	}

	public String getPreindate() {
		return Preindate;
	}

	public Double getsPrice() {
		return sPrice;
	}

	public void setsPrice(Double sPrice) {
		this.sPrice = sPrice;
	}

	public int getSquantity() {
		return squantity;
	}

	public void setSquantity(int squantity) {
		this.squantity = squantity;
	}
 
	public void setPreindate(String preindate) {
		Preindate = preindate;
	}

	public int getQtyremain() {
		return Qtyremain;
	}

	public void setQtyremain(int qtyremain) {
		Qtyremain = qtyremain;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Double getVftotal() {
		return Vftotal;
	}

	public void setVftotal(Double vftotal) {
		Vftotal = vftotal;
	}

	public Double getTaxrate() {
		return taxrate;
	}

	public void setTaxrate(Double taxrate) {
		this.taxrate = taxrate;
	}

	public Double getTaxamt() {
		return taxamt;
	}

	public void setTaxamt(Double taxamt) {
		this.taxamt = taxamt;
	}

	public String getTrantype() {
		return trantype;
	}

	public void setTrantype(String trantype) {
		this.trantype = trantype;
	}

	public String getFromno() {
		return fromno;
	}

	public void setFromno(String fromno) {
		this.fromno = fromno;
	}

	public String getIsgift() {
		return isgift;
	}

	public void setIsgift(String isgift) {
		this.isgift = isgift;
	}

	public oderfromcong(int serno, String billno, String prodId, Double oldprice, String discount, Double sPrice,
			int squantity, String preindate, int qtyremain, Double amount, Double vftotal, Double taxrate, Double taxamt,
			String trantype, String fromno, String isgift) {
		super();
		Serno = serno;
		this.billno = billno;
		ProdId = prodId;
		this.oldprice = oldprice;
		this.discount = discount;
		this.sPrice = sPrice;
		this.squantity = squantity;
		Preindate = preindate;
		Qtyremain = qtyremain;
		this.amount = amount;
		Vftotal = vftotal;
		this.taxrate = taxrate;
		this.taxamt = taxamt;
		this.trantype = trantype;
		this.fromno = fromno;
		this.isgift = isgift;
	}

	public oderfromcong() {
		super();
	}

	@Override
	public String toString() {
		return "oderfromcong [Serno=" + Serno + ", billno=" + billno + ", ProdId=" + ProdId + ", oldprice=" + oldprice
				+ ", discount=" + discount + ", sPrice=" + sPrice + ", squantity=" + squantity + ", Preindate="
				+ Preindate + ", Qtyremain=" + Qtyremain + ", amount=" + amount + ", Vftotal=" + Vftotal + ", taxrate="
				+ taxrate + ", taxamt=" + taxamt + ", trantype=" + trantype + ", fromno=" + fromno + ", isgift="
				+ isgift + "]";
	}

}
